<template>
	<view class="page" :style="themeColor">
		<view class="flex benben-position-layout flex flex-wrap align-center aboutUs_flex_0"
			:style="{height:(64+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
			<view class='flex flex-wrap align-center justify-between flex-sub aboutUs_fd0_0'>
				<view class='flex flex-wrap align-center aboutUs_fd0_0_c2' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
					<text class='fu-iconfont2  aboutUs_fd0_0_c0_c0' @tap.stop="handleJumpDiy" data-type="back"
						data-url="1">&#xE794;</text>
				</view>
				<view class='flex flex-wrap align-stretch justify-center flex-sub'>
					<text class='aboutUs_fd0_0_c1_c0'>关于我们</text>
				</view>
				<view class='flex flex-wrap align-center aboutUs_fd0_0_c2'>
				</view>
			</view>

		</view>
		<view :style="{height: (64+StatusBarRpx)+'rpx'}"></view>
		<view class="loading_css" v-if="isShow">
			<uv-loading-icon size="24" mode="circle" color="#4087FD" :show="true"></uv-loading-icon>
			<view>加载中</view>
		</view>
		<block v-else>
			<view class="flex flex-direction flex-wrap align-center">
				<image class='aboutUs_fd1_0' mode="aspectFill" :src='aboutInfo.web_site_logo'></image>
				<view class='flex flex-wrap align-center'>
					<text class='aboutUs_fd1_1_c0'>当前版本</text>
					<text class='aboutUs_fd1_1_c0'>{{appVersion}}</text>
				</view>
			</view>
			
			
			<view class="flex flex-direction flex-wrap align-center benben-position-layout flex aboutUs_flex_2">
				<!-- <text class='aboutUs_fd2_0'>copyright©2018-2019 某某APP</text> -->
				<text class='aboutUs_fd2_1'>{{aboutInfo.web_site_copyright}}</text>
			
			</view>
		</block>

		
		<view :style="{height: '168rpx'}"></view>


	</view>
</template>
<script>
	export default {
		components: {},


		data() {
			return {
				aboutInfo: {},
				isShow: true,
			};
		},
		computed: {
			themeColor() {
				return this.$store.getters.themeColor
			},
			appVersion() {
				// 获取版本号
				return this.$store.state.appVersion
			}
		},
		watch: {},
		onLoad(options) {
			this.getAbout();
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {
			this.$store.dispatch('getAppVersion') // 更新版本号
		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {
			// 联系平台电话服务  post6544db5369ce7
			getAbout() {
				this.$api.post(global.apiUrls.post6544db5369ce7, {
					
				}).then(res => {
					console.log(res);
					this.isShow = false;
					if (res.data.code == 1) {
						this.aboutInfo = res.data.data;
					} else {
						this.$message.info(res.data.msg);
					}
				})
			},
		}
	};
</script>
<style lang="scss" scoped>
	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: var(--benbenbgColor1);
		background-size: 100% auto !important;
	}

	.aboutUs_flex_0 {
		background: #fff;
		width: 100%;
		height: 64rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.aboutUs_fd0_0_c2 {
		width: 50rpx;
		height: 50rpx;
	}

	.aboutUs_fd0_0_c1_c0 {
		font-size: 25rpx;
		font-weight: 500;
		color: #333;
		line-height: 64rpx;
	}

	.aboutUs_fd0_0_c0_c0 {
		font-size: 25rpx;
		font-weight: 500;
		color: #333;
	}

	.aboutUs_fd0_0 {
		margin: 0rpx 25rpx 0rpx 25rpx;
	}

	.aboutUs_fd1_1_c0 {
		font-weight: 400;
		color: #333333;
		font-size: 20rpx;
		margin-top: 25rpx;
	}

	.aboutUs_fd1_0 {
		width: 150rpx;
		height: 150rpx;
		border-radius: 16rpx;
		margin: 98rpx 0rpx 0rpx 0rpx;
	}

	.aboutUs_flex_2 {
		width: 100%;
		// height: 168rpx;
		overflow: hidden;
		z-index: 10;
		bottom: calc(0rpx + var(--window-bottom));
		padding-bottom: 35rpx;
	}

	.aboutUs_fd2_1 {
		margin: 8rpx 0rpx 0rpx 0rpx;
		color: #BFBFBF;
		font-size: 20rpx;
		font-weight: 400;
		line-height: 40rpx;
	}

	.aboutUs_fd2_0 {
		color: #BFBFBF;
		font-size: 20rpx;
		font-weight: 400;
		line-height: 40rpx;
	}
</style>